﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;
using System.Data;

namespace BUS
{
    public class TheLoaiBUS
    {
        TheLoaiDAO tldao = new TheLoaiDAO();
        public DataTable LayDSTheLoai()
        {
            return tldao.LayDSTheLoai();
        }
        public bool ThemTheLoai(string tentheloai)
        {
            return tldao.ThemTheLoai(tentheloai);
        }
        public string LayTenTheLoai(int matheloai)
        {
            return tldao.LayTenTheLoai(matheloai);
        }
    }
}
